package com.andy.qi.service;

import com.andy.qi.domain.ServerInfo;

public interface RoomService {

    String createRoom(String account, String userId, String conf);

    EnterInfo enterRoom(String userId, String name, String roomid);

    boolean isServerOnline(String ip, int port);

    boolean containsServer(String id);

    ServerInfo getServer(String id);

    void setServer(String id, ServerInfo info);

}
